From e85556dec36ba45b48a92df105e4173786cb6fcc Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Tue, 7 Mar 2006 17:14:32 -0700 Subject: [PATCH] [IA64] Some noisy traces removed. Useless and commented-out code removed. Signed-off-by: Tristan Gingold --- xen/arch/ia64/linux-xen/smpboot.c | 3 +-- xen/arch/ia64/xen/domain.c | 13 ------------- xen/arch/ia64/xen/vcpu.c | 1 - xen/arch/ia64/xen/xensetup.c | 1 - 4 files changed, 1 insertion(+), 17 deletions(-) diff --git a/xen/arch/ia64/linux-xen/smpboot.c b/xen/arch/ia64/linux-xen/smpboot.c index d75cd58f96..0b4f1d0f54 100644 --- a/xen/arch/ia64/linux-xen/smpboot.c +++ b/xen/arch/ia64/linux-xen/smpboot.c @@ -72,8 +72,7 @@ EXPORT_SYMBOL(cpu_online_map); #ifdef CONFIG_SMP /* ifdef XEN */ -//#define SMP_DEBUG 0 -#define SMP_DEBUG 1 +#define SMP_DEBUG 0 #if SMP_DEBUG #define Dprintk(x...) printk(x) diff --git a/xen/arch/ia64/xen/domain.c b/xen/arch/ia64/xen/domain.c index db67135383..e6f16d0cbd 100644 --- a/xen/arch/ia64/xen/domain.c +++ b/xen/arch/ia64/xen/domain.c @@ -118,20 +118,7 @@ void startup_cpu_idle_loop(void) int cpu = smp_processor_id (); /* Just some sanity to ensure that the scheduler is set up okay. */ ASSERT(current->domain == IDLE_DOMAIN_ID); - printf ("idle%dA\n", cpu); raise_softirq(SCHEDULE_SOFTIRQ); -#if 0 /* All this work is done within continue_cpu_idle_loop */ - printf ("idle%dB\n", cpu); - asm volatile ("mov ar.k2=r0"); - do_softirq(); - printf ("idle%dC\n", cpu); - - /* - * Declares CPU setup done to the boot processor. - * Therefore memory barrier to ensure state is visible. - */ - smp_mb(); -#endif #if 0 //do we have to ensure the idle task has a shared page so that, for example, //region registers can be loaded from it. Apparently not... diff --git a/xen/arch/ia64/xen/vcpu.c b/xen/arch/ia64/xen/vcpu.c index a236e2dd2a..7eb8c8e7ac 100644 --- a/xen/arch/ia64/xen/vcpu.c +++ b/xen/arch/ia64/xen/vcpu.c @@ -1850,7 +1850,6 @@ IA64FAULT vcpu_fc(VCPU *vcpu, UINT64 vadr) UINT64 mpaddr, paddr; IA64FAULT fault; unsigned long translate_domain_mpaddr(unsigned long); - IA64FAULT vcpu_tpa(VCPU *, UINT64, UINT64 *); fault = vcpu_tpa(vcpu, vadr, &mpaddr); if (fault == IA64_NO_FAULT) { diff --git a/xen/arch/ia64/xen/xensetup.c b/xen/arch/ia64/xen/xensetup.c index faf59cf073..2599ef1ec8 100644 --- a/xen/arch/ia64/xen/xensetup.c +++ b/xen/arch/ia64/xen/xensetup.c @@ -331,7 +331,6 @@ printk("num_online_cpus=%d, max_cpus=%d\n",num_online_cpus(),max_cpus); if ( num_online_cpus() >= max_cpus ) break; if ( !cpu_online(i) ) { -printk("About to call __cpu_up(%d)\n",i); __cpu_up(i); } } -- 2.30.2